<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>

</body>
<script>
	const bookInfo = {
		bookName:"天龙八部"
	};
	let _bookName = bookInfo.bookName;
	let bookArr = [];
	Object.defineProperty(bookInfo,"bookName",{
		get(){
			return "《"+_bookName+"》"
		},
		set(v){
			bookArr.push(v);
			_bookName = v;
		}
	});
	bookInfo.bookName = "鹿鼎记";
	console.log(bookInfo.bookName);
</script>
</html>